using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;

/// <summary>
/// Home class
/// </summary>
public partial class HomeASPX : System.Web.UI.Page {

	/// <summary>
	/// Msin page load event, this iteration, redirect to the main page
	/// </summary>
	/// <param name="sender"></param>
	/// <param name="e"></param>
	protected void Page_Load(object sender, EventArgs e)
	{
		// check if the user is logged in, then goto ViewDocumentList
		if (!IsLoggedIn.Check(Request.Cookies["owed"])) {
			Response.Redirect("ViewDocumentList.aspx");
		}
	}
}
